from django.contrib import admin
from appapi.models import *

@admin.register(Dog)
class doglist(admin.ModelAdmin):
    list_display = ('id','desc','facade','Background','status', 'generation','weight','grow','growthan','bearval','bearnum','digoldval','dignum','digsum','created') # list

@admin.register(userdog)
class userdoglist(admin.ModelAdmin):
    list_display = ('id', 'user','dog','status','created') # list
@admin.register(fairinfo)
class fairinfolist(admin.ModelAdmin):
    list_display = ('id', 'owner','dog','type','status','money','fairid','acceptid','created','updated') # list

@admin.register(useradd)
class useraddlist(admin.ModelAdmin):
    list_display = ('id', 'user','facade','Background','status','address','balance','freeze','growthan','bearval','dognum','created') # list

